package com.qqs.distributed.advisor;

import com.qqs.distributed.pointcut.CacheAttributeSourcePointcut;
import org.springframework.aop.Pointcut;
import org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor;

public class BeanFactoryCacheAttributeSourceAdvisor extends AbstractBeanFactoryPointcutAdvisor {
    private final CacheAttributeSourcePointcut pointcut;

    public BeanFactoryCacheAttributeSourceAdvisor(CacheAttributeSourcePointcut pointcut) {
        this.pointcut = pointcut;
    }

    @Override
    public Pointcut getPointcut() {
        return pointcut;
    }
}
